import 'package:car_map/page/res/styles.dart';
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';

///咖啡分类标题
class WidgetTitleClassification extends StatelessWidget{

  final String titleName;
  final int moveNum;

  const WidgetTitleClassification({Key key, this.titleName, this.moveNum}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    // TODO: implement build
    return  Container(
      height: ScreenUtil().setHeight(70.0),
      child: Row(
        mainAxisAlignment: MainAxisAlignment.spaceBetween,
        children: <Widget>[
          Text('${titleName}',style: TextStyles.textBold16,),
          Text('查看全部(${moveNum})',style: TextStyle(color: Colors.blue[400]),),
        ],
      ),
    );
  }
}